//
//  UILabel+Extension.swift
//  JLWeibo
//
//  Created by sunjinliang on 15/12/6.
//  Copyright © 2015年 sunjinliang. All rights reserved.
//

import UIKit

extension UILabel{
    
    convenience init(text1: String, color: UIColor = UIColor.darkGrayColor(), fontSize: CGFloat = 14){
        self.init()
        text = text1
        textColor = color
       
        numberOfLines = 0
        font = UIFont.systemFontOfSize(fontSize)
        textAlignment = .Center
        sizeToFit()
    }
    
    
    
}